package com.cn.mmd.model;

import java.util.ArrayList;
import java.util.List;

public class StudentEvaluateStatisticsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StudentEvaluateStatisticsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andStatisticsidIsNull() {
            addCriterion("statisticsId is null");
            return (Criteria) this;
        }

        public Criteria andStatisticsidIsNotNull() {
            addCriterion("statisticsId is not null");
            return (Criteria) this;
        }

        public Criteria andStatisticsidEqualTo(Integer value) {
            addCriterion("statisticsId =", value, "statisticsid");
            return (Criteria) this;
        }

        public Criteria andStatisticsidNotEqualTo(Integer value) {
            addCriterion("statisticsId <>", value, "statisticsid");
            return (Criteria) this;
        }

        public Criteria andStatisticsidGreaterThan(Integer value) {
            addCriterion("statisticsId >", value, "statisticsid");
            return (Criteria) this;
        }

        public Criteria andStatisticsidGreaterThanOrEqualTo(Integer value) {
            addCriterion("statisticsId >=", value, "statisticsid");
            return (Criteria) this;
        }

        public Criteria andStatisticsidLessThan(Integer value) {
            addCriterion("statisticsId <", value, "statisticsid");
            return (Criteria) this;
        }

        public Criteria andStatisticsidLessThanOrEqualTo(Integer value) {
            addCriterion("statisticsId <=", value, "statisticsid");
            return (Criteria) this;
        }

        public Criteria andStatisticsidIn(List<Integer> values) {
            addCriterion("statisticsId in", values, "statisticsid");
            return (Criteria) this;
        }

        public Criteria andStatisticsidNotIn(List<Integer> values) {
            addCriterion("statisticsId not in", values, "statisticsid");
            return (Criteria) this;
        }

        public Criteria andStatisticsidBetween(Integer value1, Integer value2) {
            addCriterion("statisticsId between", value1, value2, "statisticsid");
            return (Criteria) this;
        }

        public Criteria andStatisticsidNotBetween(Integer value1, Integer value2) {
            addCriterion("statisticsId not between", value1, value2, "statisticsid");
            return (Criteria) this;
        }

        public Criteria andStudentmajorIsNull() {
            addCriterion("studentMajor is null");
            return (Criteria) this;
        }

        public Criteria andStudentmajorIsNotNull() {
            addCriterion("studentMajor is not null");
            return (Criteria) this;
        }

        public Criteria andStudentmajorEqualTo(String value) {
            addCriterion("studentMajor =", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorNotEqualTo(String value) {
            addCriterion("studentMajor <>", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorGreaterThan(String value) {
            addCriterion("studentMajor >", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorGreaterThanOrEqualTo(String value) {
            addCriterion("studentMajor >=", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorLessThan(String value) {
            addCriterion("studentMajor <", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorLessThanOrEqualTo(String value) {
            addCriterion("studentMajor <=", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorLike(String value) {
            addCriterion("studentMajor like", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorNotLike(String value) {
            addCriterion("studentMajor not like", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorIn(List<String> values) {
            addCriterion("studentMajor in", values, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorNotIn(List<String> values) {
            addCriterion("studentMajor not in", values, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorBetween(String value1, String value2) {
            addCriterion("studentMajor between", value1, value2, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorNotBetween(String value1, String value2) {
            addCriterion("studentMajor not between", value1, value2, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andColleaguenameIsNull() {
            addCriterion("colleagueName is null");
            return (Criteria) this;
        }

        public Criteria andColleaguenameIsNotNull() {
            addCriterion("colleagueName is not null");
            return (Criteria) this;
        }

        public Criteria andColleaguenameEqualTo(String value) {
            addCriterion("colleagueName =", value, "colleaguename");
            return (Criteria) this;
        }

        public Criteria andColleaguenameNotEqualTo(String value) {
            addCriterion("colleagueName <>", value, "colleaguename");
            return (Criteria) this;
        }

        public Criteria andColleaguenameGreaterThan(String value) {
            addCriterion("colleagueName >", value, "colleaguename");
            return (Criteria) this;
        }

        public Criteria andColleaguenameGreaterThanOrEqualTo(String value) {
            addCriterion("colleagueName >=", value, "colleaguename");
            return (Criteria) this;
        }

        public Criteria andColleaguenameLessThan(String value) {
            addCriterion("colleagueName <", value, "colleaguename");
            return (Criteria) this;
        }

        public Criteria andColleaguenameLessThanOrEqualTo(String value) {
            addCriterion("colleagueName <=", value, "colleaguename");
            return (Criteria) this;
        }

        public Criteria andColleaguenameLike(String value) {
            addCriterion("colleagueName like", value, "colleaguename");
            return (Criteria) this;
        }

        public Criteria andColleaguenameNotLike(String value) {
            addCriterion("colleagueName not like", value, "colleaguename");
            return (Criteria) this;
        }

        public Criteria andColleaguenameIn(List<String> values) {
            addCriterion("colleagueName in", values, "colleaguename");
            return (Criteria) this;
        }

        public Criteria andColleaguenameNotIn(List<String> values) {
            addCriterion("colleagueName not in", values, "colleaguename");
            return (Criteria) this;
        }

        public Criteria andColleaguenameBetween(String value1, String value2) {
            addCriterion("colleagueName between", value1, value2, "colleaguename");
            return (Criteria) this;
        }

        public Criteria andColleaguenameNotBetween(String value1, String value2) {
            addCriterion("colleagueName not between", value1, value2, "colleaguename");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeIsNull() {
            addCriterion("statisticsTime is null");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeIsNotNull() {
            addCriterion("statisticsTime is not null");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeEqualTo(String value) {
            addCriterion("statisticsTime =", value, "statisticstime");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeNotEqualTo(String value) {
            addCriterion("statisticsTime <>", value, "statisticstime");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeGreaterThan(String value) {
            addCriterion("statisticsTime >", value, "statisticstime");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeGreaterThanOrEqualTo(String value) {
            addCriterion("statisticsTime >=", value, "statisticstime");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeLessThan(String value) {
            addCriterion("statisticsTime <", value, "statisticstime");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeLessThanOrEqualTo(String value) {
            addCriterion("statisticsTime <=", value, "statisticstime");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeLike(String value) {
            addCriterion("statisticsTime like", value, "statisticstime");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeNotLike(String value) {
            addCriterion("statisticsTime not like", value, "statisticstime");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeIn(List<String> values) {
            addCriterion("statisticsTime in", values, "statisticstime");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeNotIn(List<String> values) {
            addCriterion("statisticsTime not in", values, "statisticstime");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeBetween(String value1, String value2) {
            addCriterion("statisticsTime between", value1, value2, "statisticstime");
            return (Criteria) this;
        }

        public Criteria andStatisticstimeNotBetween(String value1, String value2) {
            addCriterion("statisticsTime not between", value1, value2, "statisticstime");
            return (Criteria) this;
        }

        public Criteria andWeeknumIsNull() {
            addCriterion("weekNum is null");
            return (Criteria) this;
        }

        public Criteria andWeeknumIsNotNull() {
            addCriterion("weekNum is not null");
            return (Criteria) this;
        }

        public Criteria andWeeknumEqualTo(Integer value) {
            addCriterion("weekNum =", value, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumNotEqualTo(Integer value) {
            addCriterion("weekNum <>", value, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumGreaterThan(Integer value) {
            addCriterion("weekNum >", value, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumGreaterThanOrEqualTo(Integer value) {
            addCriterion("weekNum >=", value, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumLessThan(Integer value) {
            addCriterion("weekNum <", value, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumLessThanOrEqualTo(Integer value) {
            addCriterion("weekNum <=", value, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumIn(List<Integer> values) {
            addCriterion("weekNum in", values, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumNotIn(List<Integer> values) {
            addCriterion("weekNum not in", values, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumBetween(Integer value1, Integer value2) {
            addCriterion("weekNum between", value1, value2, "weeknum");
            return (Criteria) this;
        }

        public Criteria andWeeknumNotBetween(Integer value1, Integer value2) {
            addCriterion("weekNum not between", value1, value2, "weeknum");
            return (Criteria) this;
        }

        public Criteria andMaxevaluatenumIsNull() {
            addCriterion("MaxEvaluateNum is null");
            return (Criteria) this;
        }

        public Criteria andMaxevaluatenumIsNotNull() {
            addCriterion("MaxEvaluateNum is not null");
            return (Criteria) this;
        }

        public Criteria andMaxevaluatenumEqualTo(Integer value) {
            addCriterion("MaxEvaluateNum =", value, "maxevaluatenum");
            return (Criteria) this;
        }

        public Criteria andMaxevaluatenumNotEqualTo(Integer value) {
            addCriterion("MaxEvaluateNum <>", value, "maxevaluatenum");
            return (Criteria) this;
        }

        public Criteria andMaxevaluatenumGreaterThan(Integer value) {
            addCriterion("MaxEvaluateNum >", value, "maxevaluatenum");
            return (Criteria) this;
        }

        public Criteria andMaxevaluatenumGreaterThanOrEqualTo(Integer value) {
            addCriterion("MaxEvaluateNum >=", value, "maxevaluatenum");
            return (Criteria) this;
        }

        public Criteria andMaxevaluatenumLessThan(Integer value) {
            addCriterion("MaxEvaluateNum <", value, "maxevaluatenum");
            return (Criteria) this;
        }

        public Criteria andMaxevaluatenumLessThanOrEqualTo(Integer value) {
            addCriterion("MaxEvaluateNum <=", value, "maxevaluatenum");
            return (Criteria) this;
        }

        public Criteria andMaxevaluatenumIn(List<Integer> values) {
            addCriterion("MaxEvaluateNum in", values, "maxevaluatenum");
            return (Criteria) this;
        }

        public Criteria andMaxevaluatenumNotIn(List<Integer> values) {
            addCriterion("MaxEvaluateNum not in", values, "maxevaluatenum");
            return (Criteria) this;
        }

        public Criteria andMaxevaluatenumBetween(Integer value1, Integer value2) {
            addCriterion("MaxEvaluateNum between", value1, value2, "maxevaluatenum");
            return (Criteria) this;
        }

        public Criteria andMaxevaluatenumNotBetween(Integer value1, Integer value2) {
            addCriterion("MaxEvaluateNum not between", value1, value2, "maxevaluatenum");
            return (Criteria) this;
        }

        public Criteria andRealevaluatenumIsNull() {
            addCriterion("RealEvaluateNum is null");
            return (Criteria) this;
        }

        public Criteria andRealevaluatenumIsNotNull() {
            addCriterion("RealEvaluateNum is not null");
            return (Criteria) this;
        }

        public Criteria andRealevaluatenumEqualTo(Integer value) {
            addCriterion("RealEvaluateNum =", value, "realevaluatenum");
            return (Criteria) this;
        }

        public Criteria andRealevaluatenumNotEqualTo(Integer value) {
            addCriterion("RealEvaluateNum <>", value, "realevaluatenum");
            return (Criteria) this;
        }

        public Criteria andRealevaluatenumGreaterThan(Integer value) {
            addCriterion("RealEvaluateNum >", value, "realevaluatenum");
            return (Criteria) this;
        }

        public Criteria andRealevaluatenumGreaterThanOrEqualTo(Integer value) {
            addCriterion("RealEvaluateNum >=", value, "realevaluatenum");
            return (Criteria) this;
        }

        public Criteria andRealevaluatenumLessThan(Integer value) {
            addCriterion("RealEvaluateNum <", value, "realevaluatenum");
            return (Criteria) this;
        }

        public Criteria andRealevaluatenumLessThanOrEqualTo(Integer value) {
            addCriterion("RealEvaluateNum <=", value, "realevaluatenum");
            return (Criteria) this;
        }

        public Criteria andRealevaluatenumIn(List<Integer> values) {
            addCriterion("RealEvaluateNum in", values, "realevaluatenum");
            return (Criteria) this;
        }

        public Criteria andRealevaluatenumNotIn(List<Integer> values) {
            addCriterion("RealEvaluateNum not in", values, "realevaluatenum");
            return (Criteria) this;
        }

        public Criteria andRealevaluatenumBetween(Integer value1, Integer value2) {
            addCriterion("RealEvaluateNum between", value1, value2, "realevaluatenum");
            return (Criteria) this;
        }

        public Criteria andRealevaluatenumNotBetween(Integer value1, Integer value2) {
            addCriterion("RealEvaluateNum not between", value1, value2, "realevaluatenum");
            return (Criteria) this;
        }

        public Criteria andPercentagecompleteIsNull() {
            addCriterion("percentageComplete is null");
            return (Criteria) this;
        }

        public Criteria andPercentagecompleteIsNotNull() {
            addCriterion("percentageComplete is not null");
            return (Criteria) this;
        }

        public Criteria andPercentagecompleteEqualTo(Float value) {
            addCriterion("percentageComplete =", value, "percentagecomplete");
            return (Criteria) this;
        }

        public Criteria andPercentagecompleteNotEqualTo(Float value) {
            addCriterion("percentageComplete <>", value, "percentagecomplete");
            return (Criteria) this;
        }

        public Criteria andPercentagecompleteGreaterThan(Float value) {
            addCriterion("percentageComplete >", value, "percentagecomplete");
            return (Criteria) this;
        }

        public Criteria andPercentagecompleteGreaterThanOrEqualTo(Float value) {
            addCriterion("percentageComplete >=", value, "percentagecomplete");
            return (Criteria) this;
        }

        public Criteria andPercentagecompleteLessThan(Float value) {
            addCriterion("percentageComplete <", value, "percentagecomplete");
            return (Criteria) this;
        }

        public Criteria andPercentagecompleteLessThanOrEqualTo(Float value) {
            addCriterion("percentageComplete <=", value, "percentagecomplete");
            return (Criteria) this;
        }

        public Criteria andPercentagecompleteIn(List<Float> values) {
            addCriterion("percentageComplete in", values, "percentagecomplete");
            return (Criteria) this;
        }

        public Criteria andPercentagecompleteNotIn(List<Float> values) {
            addCriterion("percentageComplete not in", values, "percentagecomplete");
            return (Criteria) this;
        }

        public Criteria andPercentagecompleteBetween(Float value1, Float value2) {
            addCriterion("percentageComplete between", value1, value2, "percentagecomplete");
            return (Criteria) this;
        }

        public Criteria andPercentagecompleteNotBetween(Float value1, Float value2) {
            addCriterion("percentageComplete not between", value1, value2, "percentagecomplete");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}